package com.factory.test.bean;



public class VersionInfo {
    /*
        firmwareVersion.setText("系统固件版本号:" + SystemHelper.getFirmwareVersion() + "\n" + "系统硬件版本号:" + SystemHelper.getHardwareVersion());
        apkVersion.setText("APK版本号:" + APKHelper.getVersionName(this));
        String s = "系统版本:" + SystemHelper.getSystemVersion();
        String s1 = SystemHelper.getIrCameraVersion(this) == null ? "" : ("   红外摄像头版本号：" + SystemHelper.getIrCameraVersion(this));
        String s2 = SystemHelper.getRGBCameraVersion(this) == null ? "" : ("   RGB摄像头版本号:" + SystemHelper.getRGBCameraVersion(this));
        systemVersion.setText(s + s1 + s2);
        blueMac.setText("蓝牙地址:" + SystemHelper.getBluetoothAddress());
     */

    private String firmwareVersion;
    private String hardwareVersion;
    private String systemVersion;
    private String appVersionName;
    private String irCameraVersion;
    private String rgbCameraVersion;
    private String bluetoothAddress;

    public interface VersionInfoListener{
        public void onReadVersionInfo(VersionInfo versionInfo);
    }

    public VersionInfo(){
        //this.firmwareVersion = SystemUtils.getRomVersion();
        //this.hardwareVersion = SystemUtils.getHardwareVersion();
    }


    public String getFirmwareVersion() {
        return firmwareVersion;
    }

    public void setFirmwareVersion(String firmwareVersion) {
        this.firmwareVersion = firmwareVersion;
    }

    public String getHardwareVersion() {
        return hardwareVersion;
    }

    public void setHardwareVersion(String hardwareVersion) {
        this.hardwareVersion = hardwareVersion;
    }

    public String getSystemVersion() {
        return systemVersion;
    }

    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }

    public String getAppVersionName() {
        return appVersionName;
    }

    public void setAppVersionName(String appVersionName) {
        this.appVersionName = appVersionName;
    }

    public String getIrCameraVersion() {
        return irCameraVersion;
    }

    public void setIrCameraVersion(String irCameraVersion) {
        this.irCameraVersion = irCameraVersion;
    }

    public String getRgbCameraVersion() {
        return rgbCameraVersion;
    }

    public void setRgbCameraVersion(String rgbCameraVersion) {
        this.rgbCameraVersion = rgbCameraVersion;
    }

    public String getBluetoothAddress() {
        return bluetoothAddress;
    }

    public void setBluetoothAddress(String bluetoothAddress) {
        this.bluetoothAddress = bluetoothAddress;
    }

    @Override
    public String toString() {
        return "VersionInfo{" +
                "firmwareVersion='" + firmwareVersion + '\'' +
                ", hardwareVersion='" + hardwareVersion + '\'' +
                ", systemVersion='" + systemVersion + '\'' +
                ", appVersionName='" + appVersionName + '\'' +
                ", irCameraVersion='" + irCameraVersion + '\'' +
                ", rgbCameraVersion='" + rgbCameraVersion + '\'' +
                ", bluetoothAddress='" + bluetoothAddress + '\'' +
                '}';
    }
}
